package com.yunhe.common.model;

//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 分页对象
 * @desc 分页对象定义
 * @author liuronglei
 */
//@ApiModel(value = "PageParam", description = "分页对象")
public class PageParam {
//    @ApiModelProperty(value = "当前页，从0开始")
    private int page = -1;
//    @ApiModelProperty(value = "每页数量")
    private int size = -1;
//    @ApiModelProperty(value = "排序字段，默认升序，-表示降序，如果有多个排序字段，用逗号间隔，如“name,-title”")
    private List<String> sort;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public List<String> getSort() {
        return sort;
    }

    public void setSort(List<String> sort) {
        this.sort = sort;
    }
}
